from ppocronnx import TextSystem

import cv2

rec_model = 'models/number_ocr_model/number_rec.onnx'

text_sys = TextSystem(rec_model_path=rec_model)
res = text_sys.ocr_single_line(cv2.imread('number_0.jpg'))
print(res)
